<!DOCTYPE html>
<html lang="">
  <head>
    <meta charset="UTF-8">
    <link rel="icon" href="src/assets/favicon.ico">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <!-- <script src="http://mars3d.cn/lib/turf/turf.min.js"></script> -->
    <!-- <link rel="stylesheet" href="./src/assets/style/style.css"> -->
    <title>三峡农夫地图系统</title>
  </head>
  <body onload="noright(document.body);">
    <div id="app"></div>
    <script type="module" src="/src/main.ts"></script>
  </body>
</html>
<script>
  // 禁用鼠标右键
  function noright(obj) {
      if (obj) {
          obj.oncontextmenu = function () {
              return false;
          };
          obj.ondragstart = function () {
              return false;
          };
          obj.onselectstart = function () {
              return false;
          };
          // obj.onselect = function () {
          //     obj.selection.empty();
          // };
          obj.oncopy = function () {
              obj.selection.empty();
          };
          obj.onbeforecopy = function () {
              return false;
          };
      }
  }
</script>